<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<div>
    <input type="text" v-model="msg">
    <h3>{{msg}}</h3>
    a&nbsp;&nbsp;&nbsp;b
    <input type="radio" v-model="gender" value="男">男
    <input type="radio" v-model="gender" value="女">女
</div>

<script src="../js/vue.js"></script>
<script>
    let v = new Vue({
        el:"div",//元素
        data:{
            msg:"双向绑定测试",//必须两个大括号
            gender:"男"
        }
    })


</script>


</body>
</html>